.searchPage {
  height: 100vh;
  padding-top: 105px;
  box-sizing: border-box;
}
.searchContainer{
  position: fixed;
  top: 45px;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: #f7f8fa;
  z-index: 1;
}

.listContainer {
  padding: 10px;
  box-sizing: border-box;
  height: calc(100vh - 170px);
  overflow-y: auto;
}

.documentItem {
  background-color: #ffffff;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;

  &:active {
    background-color: #f9f9f9;
  }
}

.documentHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.documentTitle {
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  flex: 1;
  margin: 0;
  padding-right: 10px;
  line-height: 1.4;
}

.documentStatus {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
}

.statusOfficial {
  background-color: #e6f7ff;
  color: #1890ff;
}

.statusDraft {
  background-color: #fff7e6;
  color: #fa8c16;
}

.statusDefault {
  background-color: #f5f5f5;
  color: #999999;
}

.documentFooter {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #546371;
  margin-top: 5px;
}

.paginationContainer {
  padding: 10px;
  background-color: #ffffff;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loadingContainer, .emptyContainer, .errorContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #999999;
}

.errorContainer {
  color: #ff4d4f;
}

.retryButton {
  margin-top: 15px;
  padding: 6px 16px;
  background-color: #1890ff;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

// 在文件末尾添加

.highlightKeyword {
  color: #ff4d4f; // 红色
  font-weight: 500;
}

// 同时也需要确保documentContent样式允许显示富文本
.documentContent {
  // 保留现有的样式，并添加以下属性（如果没有的话）
  word-wrap: break-word;
  word-break: break-all;
  line-height: 1.5;
  color: #959595;
}